<!DOCTYPE html>
<html th:replace="layout/layout"
      xmlns:th="http://www.thymeleaf.org">
<style th:fragment="styles">
</style>
<div th:fragment="content">
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-lg-10">
            <h2>兽药经营企业监督检查记录表</h2>
            <ol class="breadcrumb">
                <li>
                    <a href="/index">首页</a>
                </li>
                <li>
                    <a>监督检查</a>
                </li>
                <li class="active">
                    <strong>兽药经营企业监督检查记录表</strong>
                </li>
            </ol>
        </div>
        <div class="col-lg-2">

        </div>
    </div>
    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="row">
            <div class="col-lg-12">
                <div class="ibox ">
                    <div class="ibox-content">
                        <div class="row">
                            <div class="col-lg-3">
                                <div class="form-group">
                                    <input type="text" id="search_InspectionDate" placeholder="检查日期"
                                           name="search_InspectionDate" autocomplete="off" class="form-control">
                                </div>
                            </div>
                            <div class="col-lg-2">
                                <button type="submit" class="btn btn-primary  btn-rounded  btn-sm" id="search"
                                        onclick="doSearch()"><i
                                        class="fa fa-search"></i>&nbsp;搜索
                                </button>
                                <button type="submit" class="btn btn-warning  btn-rounded  btn-sm" id="refresh"
                                        onclick="doRest()"><i
                                        class="fa fa-refresh"></i>&nbsp;重置
                                </button>
                            </div>
                        </div>

                        <div class="jqGrid_wrapper">
                            <div class="btn-group-sm" id="toolbar" role="group">
                                <a class="btn btn-success" name="AddNew" id="AddNew" data-toggle="modal"
                                   data-target="#myModalAdd" onclick="addRecord();">
                                    <i class="fa fa-plus"></i> 新增
                                </a>
                            </div>

                            <table class="table table-striped table-bordered table-hover " id="tableList">
                            </table>


                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--模态框-->
    <div class="modal inmodal" id="myModalAdd" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog  modal-lg">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title">兽药经营企业监督检查记录表信息</h4>
                </div>
                <div class="modal-body">
                    <!--@*模态框body*@-->
                    <div class="tabs-container">

                        <form class="form-horizontal" id="myform">
                            <div class="panel-body form-horizontal">
                                <div class="row">
                                    <label class="col-lg-2 control-label">检查日期</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_inspectionDate" name="text_inspectionDate"
                                                   placeholder="检查日期" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">企业名称</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_ename' name='text_ename' class="form-control" onchange="getName2(this.value)">
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">法人姓名</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_legalName" name="text_legalName" readonly
                                                   placeholder="法人姓名" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">法人联系方式</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_legalPhone" name="text_legalPhone" readonly
                                                   placeholder="法人联系方式" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">经营许可证号</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_licenseNo" name="text_licenseNo" readonly
                                                   placeholder="经营许可证号" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">兽药GSP证号</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_gSPNo" name="text_gSPNo" placeholder="兽药GSP证号"
                                                   autocomplete="off" class="form-control">
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">经营范围</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_businessScope" name="text_businessScope"
                                                   placeholder="经营范围" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">是否超范围经营</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_range' name='text_range' class="form-control"
                                                    placeholder="是否超范围经营">
                                                <option value="是">是</option>
                                                <option value="否">否</option>
                                            </select>
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">经营地址是否变更</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_changeManagementAddress'
                                                    name='text_changeManagementAddress' class="form-control"
                                                    placeholder="经营地址是否变更">
                                                <option value="是">是</option>
                                                <option value="否">否</option>
                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">经营地址</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_managementAddress" name="text_managementAddress" readonly
                                                   placeholder="经营地址" autocomplete="off" class="form-control">
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">仓储地址是否变更</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_changeStorageAddress' name='text_changeStorageAddress'
                                                    class="form-control" placeholder="仓储地址是否变更">
                                                <option value="是">是</option>
                                                <option value="否">否</option>
                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">仓储地址</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_storageAddress" name="text_storageAddress"
                                                   placeholder="仓储地址" autocomplete="off" class="form-control">
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">经营面积≥20m²</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_businessArea' name='text_businessArea' class="form-control"
                                                    placeholder="经营面积≥20m²">
                                                <option value="是">是</option>
                                                <option value="否">否</option>
                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">仓库面积≥40m²</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_warehouseArea' name='text_warehouseArea'
                                                    class="form-control" placeholder="仓库面积≥40m²">
                                                <option value="是">是</option>
                                                <option value="否">否</option>
                                            </select>
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">生物制品库≥30m²</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_biobank' name='text_biobank' class="form-control"
                                                    placeholder="生物制品库≥30m²">
                                                <option value="是">是</option>
                                                <option value="否">否</option>
                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">面积是否达标</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_standardArea' name='text_standardArea' class="form-control"
                                                    placeholder="面积是否达标">
                                                <option value="是">是</option>
                                                <option value="否">否</option>
                                            </select>
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">实际面积</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_actualArea" name="text_actualArea"
                                                   placeholder="实际面积" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">陈列货架、柜台</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_counter' name='text_counter' class="form-control"
                                                    placeholder="陈列货架、柜台">
                                                <option value="符合规定">符合规定</option>
                                                <option value="不符合规定">不符合规定</option>
                                            </select>
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">通风、防火和照明设施、设备</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_ventilate' name='text_ventilate' class="form-control"
                                                    placeholder="通风、防火和照明设施、设备">
                                                <option value="符合规定">符合规定</option>
                                                <option value="不符合规定">不符合规定</option>                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">温度、湿度、光照等控制设施、设备和监控仪表</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_temperature' name='text_temperature' class="form-control"
                                                    placeholder="温度、湿度、光照等控制设施、设备和监控仪表">
                                                <option value="符合规定">符合规定</option>
                                                <option value="不符合规定">不符合规定</option>                                            </select>
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">防尘、防潮、防污染和防虫、防鼠、防鸟的设施、设备</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_dustproof' name='text_dustproof' class="form-control"
                                                    placeholder="防尘、防潮、防污染和防虫、防鼠、防鸟的设施、设备">
                                                <option value="符合规定">符合规定</option>
                                                <option value="不符合规定">不符合规定</option>                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">环境和人员卫生、清洁的设施、设备等</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_environmental' name='text_environmental'
                                                    class="form-control" placeholder="环境和人员卫生、清洁的设施、设备等">
                                                <option value="符合规定">符合规定</option>
                                                <option value="不符合规定">不符合规定</option>                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-8 control-label">在营业场所显著位置设置兽药质量信息公示板，张贴兽药管理法规、人员职责和分工，明示服务公约、质量承诺和服务监督电话，设置意见簿</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_bulletinBoard' name='text_bulletinBoard'
                                                    class="form-control">
                                                <option value="符合规定">符合规定</option>
                                                <option value="不符合规定">不符合规定</option>                                            </select>
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <label class="col-lg-2 control-label">法人是否符合规定</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_legalWhether' name='text_legalWhether' class="form-control"
                                                    placeholder="法人是否符合规定">
                                                <option value="是">是</option>
                                                <option value="否">否</option>
                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">质量负责人</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_directorName" name="text_directorName"
                                                   placeholder="质量负责人" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">质量负责人联系方式</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_directorPhone" name="text_directorPhone"
                                                   placeholder="质量负责人联系方式" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">质量联系人是否符合规定</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_directorWhether' name='text_directorWhether'
                                                    class="form-control" placeholder="质量联系人是否符合规定">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">从业人员数量</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="number" id="text_staffName" name="text_staffName"
                                                   placeholder="从业人员数量" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
<!--                                    <label class="col-lg-2 control-label">员工人数联系方式</label>-->
<!--                                    <div class="col-lg-4">-->
<!--                                        <div class="form-group">-->
<!--                                            <input type="text" id="text_staffPhone" name="text_staffPhone"-->
<!--                                                   placeholder="员工人数联系方式" autocomplete="off" class="form-control">-->
<!--                                        </div>-->
<!--                                    </div>-->
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">员工人数是否符合规定</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_staffWhether' name='text_staffWhether' class="form-control"
                                                    placeholder="员工人数是否符合规定">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">是否有违禁药物</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_prohibitedDrug' name='text_prohibitedDrug'
                                                    class="form-control" placeholder="是否有违禁药物">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">是否有假兽药</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_fakeMedicine' name='text_fakeMedicine' class="form-control"
                                                    placeholder="是否有假兽药">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">是否有劣兽药</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_badMedicine' name='text_badMedicine' class="form-control"
                                                    placeholder="是否有劣兽药">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">是否有人用药、无证经营生物制品、原料要拆零销售或销售到非生产企业</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_nonproductive' name='text_nonproductive'
                                                    class="form-control" placeholder="是否有人用药、无证经营生物制品、原料要拆零销售或销售到非生产企业">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">规章制度不齐全、不执行</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_ruleIncomplete' name='text_ruleIncomplete'
                                                    class="form-control" placeholder="规章制度不齐全、不执行">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">采购记录不齐全</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_purchaseIncomplete' name='text_purchaseIncomplete'
                                                    class="form-control" placeholder="采购记录不齐全">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">销售记录不齐全</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_shopIncomplete' name='text_shopIncomplete'
                                                    class="form-control" placeholder="销售记录不齐全">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">是否拒绝或不配合检查</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id='text_refuse' name='text_refuse' class="form-control"
                                                    placeholder="是否拒绝或不配合检查">
                                                <option value="是">是</option>
                                                <option value="否">否</option>                                            </select>
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">整改跟踪检查情况</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_rectification" name="text_rectification"
                                                   placeholder="整改跟踪检查情况" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">检查结论及处理意见</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_examination" name="text_examination"
                                                   placeholder="检查结论及处理意见" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">企业意见</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_enterpriseOpinion" name="text_enterpriseOpinion"
                                                   placeholder="企业意见" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">检查员签名</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_inspectorSignature"
                                                   name="text_inspectorSignature" placeholder="检查员签名" autocomplete="off"
                                                   class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">法人或质量负责人签名</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="text_legalPersonSignature"
                                                   name="text_legalPersonSignature" placeholder="法人或质量负责人签名"
                                                   autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>

                    <!--模态框body结束-->
                </div>
                <div class="modal-footer">
                    <button type="button" id="save" name="save" class="btn btn-success" onclick="saveRecord();"><i
                            class="fa fa-save"></i>&nbsp;提交
                    </button>
                    <button type="button" id="close" name="close" class="btn btn-danger" data-dismiss="modal"><i
                            class="fa fa-close"></i>&nbsp;关 闭
                    </button>
                </div>
            </div>
        </div>
    </div>

</div>
<div th:fragment="scriptRef">
    <script th:src="@{/js/lib/inspinia/js/plugins/laydate/laydate.js}"></script>
    <script th:src="@{/js/form/veterinaryDrug.js}"></script>
    <!--表单验证-->
    <script th:src="@{/js/lib/validate/jquery.validate.min.js}"></script>
</div>
<script th:fragment="scripts" type="text/javascript">
    VeterinaryDrug.init();
</script>
</html>
